<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
    <!--无数据提示 开始-->
    <section th:if="${#lists.isEmpty(dataMap['list'])}" class="no-data__wrap">
        <span class="no-data-ico"></span>
        <p class="mt20"><span class="c-666">最近一段时间，还没有账户提现记录~~~</span></p>
    </section>
    <table  th:if="!${#lists.isEmpty(dataMap['list'])}" class="table table-hover">
        <thead>
            <tr>
                <th><span class="c-999 fs12">申请时间</span></th>
                <th><span class="c-999 fs12">提现时间</span></th>
                <th><span class="c-999 fs12">提现平台</span></th>
                <th><span class="c-999 fs12">提现金额</span></th>
                <th><span class="c-999 fs12">状态</span></th>
            </tr>
        </thead>
        <tbody>
            <tr th:each="cashRecord : ${dataMap['list']}">
                <td><span class="c-999" th:text="${cashRecord['createTime']}"></span></td>
                <td><span class="c-999" th:text="${#strings.isEmpty(cashRecord['examineTime'])}?'—':${cashRecord['examineTime']}"></span></td>
                <td>
                    <span class="c-999" th:if="${cashRecord['accountType']}==1">个人支付宝账号</span>
                    <span class="c-999" th:if="${cashRecord['accountType']}==2">个人微信账号</span>
                </td>
                <td>
                    <span class="c-999">
                        <i class="fa fa-jpy fs12" aria-hidden="true"></i>
                        <b th:text="${cashRecord['price']}">0</b>
                    </span>
                </td>
                <td>
                    <span class="badge badge-warning vam" th:if="${cashRecord['status']}==1">审核中</span>
                    <span class="badge badge-primary vam" th:if="${cashRecord['status']}==2">已提现</span>
                    <span class="badge badge-danger vam" th:if="${cashRecord['status']}==3">未通过</span>
                    <a href="javascript:void(0);" class="c-info ml5 vam show-reject-text" th:if="${cashRecord['status']}==3">[原因]</a>
                    <div style="display: none;" th:if="${cashRecord['status']}==3" th:text="${cashRecord['rejectText']}"></div>
                </td>
            </tr>
        </tbody>
    </table>
</html>